package com.jisheng.xb.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jisheng.xb.entity.Prorecord;

public interface ProrecordMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Prorecord record);

    Prorecord selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Prorecord record);

	List<Prorecord> selectAll();
	
	List<Prorecord> selectByAuthorAndWeek(@Param("author")String author,@Param("week")Integer week);
	
	List<Prorecord> selectByAuthorAndWeekInfo(@Param("author")String author,@Param("weekday")Integer weekday,@Param("week")Integer week);
}